package com.origin.oss.enums;

/**
 * 文件上传结果状态
 *
 * @author 马超
 */
public enum FileUploadStateEnum {

    FAIL(0, "上传失败"),
    SUCCESS(1, "上传成功"),
    UNCOMPLETE(2, "未完成");

    private final int code;
    private final String message;

    FileUploadStateEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
